Captain of Sea and War is a rank in a small number of navies, notably those of Portugal and Brazil, which corresponds to the rank of Ship-of-the-line Captain, or the US and Commonwealth rank of full Captain.
Above: Brazilian Captain of Sea and War rank insignia (Health Corps, Dentist) , worn on the shoulder
Above: Rank insignia of a Portuguese Captain of Sea and War, worn on the lower sleeve